<?php

namespace app\api\logic;

use app\admin\model\user\UserHelp;
use app\basic\BaseLogic;

class UserHelpLogic extends BaseLogic
{
    /**
     * 构造函数
     */
    public function __construct()
    {
        $this->model = new UserHelp();
    }

    /**
     * 获取帮助列表
     * @return array
     */
    public function getHelpList()
    {
        return $this->model
            ->field('title, content')
            ->order('sort', 'asc')
            ->select()
            ->toArray();
    }
} 